import 'dart:ui';
import 'package:flutter/material.dart';

class Global {
  // 系统相关
  static num _topBloodHeight;
  static num _bottomBloodHeight;
  // MediaQueryData.fromWindow(window).padding.top
  static num get topBloodHeight {
    return _topBloodHeight ?? MediaQueryData.fromWindow(window).padding.top;
  }

  static num get bottomBloodHeight {
    return _bottomBloodHeight ?? MediaQueryData.fromWindow(window).padding.bottom;
  }
}
